<template>
  <!-- 企业信用 -->
  <div>
    <p style="font-weight: 700">
      企业信用
      <el-button type="primary" style="margin-left: 20px"
        ><el-icon><Plus /></el-icon>新增</el-button
      >
    </p>
    <el-table :data="tableData" style="font-size: 12px">
      <el-table-column prop="entCreditinfoid" label="序号" />
      <el-table-column prop="entCreditinstitutions" label="用信机构" />
      <el-table-column prop="entCredittype" label="用信品种" />
      <el-table-column prop="entCreditbalance" label="用信余额（元）" />
      <el-table-column prop="entCreditoverdue" label="逾期情款" />
      <el-table-column prop="entCreditduaranteetype" label="担保方式" />
      <el-table-column label="操作">
        <el-icon style="color: #4eabfe"><Delete /></el-icon>
      </el-table-column>
    </el-table>
  </div>
</template>
    
<script setup>
import { ref, onMounted } from "vue";
import { xinyong } from "../../../apis/Sltapi/GuanLi.ts";
const input = ref("");
var tableData = ref([]);

onMounted(async () => {
  var res = await xinyong();
  tableData.value = res.data.data;
  console.log(res);
});
</script>
    
<style scoped>
.el-input {
  font-size: 5px;
}
</style>>